package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class Sources {
    private int id;
    private String username;
    private String urlpath;
    private String filetype;
    private String uploadtime;//上传时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUrlpath() {
        return urlpath;
    }

    public void setUrlpath(String urlpath) {
        this.urlpath = urlpath;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    public String getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(String uploadtime) {
        this.uploadtime = uploadtime;
    }

    @Override
    public String toString() {
        return "Sources{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", urlpath='" + urlpath + '\'' +
                ", filetype='" + filetype + '\'' +
                ", uploadtime='" + uploadtime + '\'' +
                '}';
    }
}
